package it.infodea.tapestrydea.state;

import it.infodea.tapestrydea.services.breadcrumb.bean.BreadcrumbBean;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

public class BreadcrumbState {

	public BreadcrumbState() {
		reset();
	}

	private List<BreadcrumbBean> stack;

	private Set<String> bcSet;

	public List<BreadcrumbBean> getStack() {
		return stack;
	}

	public void setStack(List<BreadcrumbBean> stack) {
		this.stack = stack;
	}

	public Set<String> getBcSet() {
		return bcSet;
	}

	public void setBcSet(Set<String> bcSet) {
		this.bcSet = bcSet;
	}
	
	public void reset() {
		stack = new ArrayList<BreadcrumbBean>();
		bcSet = new HashSet<String>();
	}

}
